﻿using System;
namespace System.Data.Services.Http
{
    /// <summary>Errors for parsing.</summary>
    internal enum WebParseErrorCode
    {
        /// <summary>Generic status constant.</summary>
        Generic,
        /// <summary>InvalidHeaderName status constant.</summary>
        InvalidHeaderName,
        /// <summary>InvalidContentLength status constant.</summary>
        InvalidContentLength,
        /// <summary>IncompleteHeaderLine status constant.</summary>
        IncompleteHeaderLine,
        /// <summary>CrLfError status constant.</summary>
        CrLfError,
        /// <summary>InvalidChunkFormat status constant.</summary>
        InvalidChunkFormat,
        /// <summary>UnexpectedServerResponse status constant.</summary>
        UnexpectedServerResponse
    }
}
